<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="AJAXDemo.aspx.cs" Inherits="WebDemo.DemoJQuery" %>
<%@Register Assembly="OpenFlashChartLib" Namespace="OpenFlashChartLib" TagPrefix="ofc" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>JQuery embed demo</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager runat="server"></asp:ScriptManager>
    <div>
        <h1>AJAX Demo</h1>
    <div><asp:HyperLink ID="HyperLink1" runat="server" Text="Static Demo" NavigateUrl="~/Default.aspx" /></div>
    <br />
    <asp:UpdatePanel runat="server">
        <ContentTemplate>
            <div>
                <ofc:OpenFlashChart runat="server" ID="ofcTest" Height="350" Width="500" OnDrawChart="ofcTest_DrawChart" />
            </div>
            <table style="width:100%">
                <tr>
                    <td>Chart type: <asp:DropDownList runat="server" ID="ddlGraphType"></asp:DropDownList></td>
                    <td></td>
                </tr>    
                <tr>
                    <td colspan="2"><asp:Button runat="server" ID="btnApplyGr"  Text="Apply" CausesValidation="false"/></td>
                </tr>
            </table>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <br />
    </form>
</body>
</html>
